home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / PROBLEMS / BENCHMARK / ARMSI346 / !ArmSI / Makefile < prev   
Makefile  |  1993-08-16  |  1KB  |  52 lines

  1. # Project name:   Dhry
  2. # AMU Makefile for Dhrystone for SI application
  3. # By Nick Smith, 1992
  4.  
  5. # Can set the following defines ;
  6. #       -DREG=register          (uses register class variables in places)
  7. #       -DSILENT                (doesn't output anything except <ArmSI$Dhrystone>)
  8. #       -DNORUNS=value          (number of runs for silent mode. eg, 10000)
  9.  
  10. # Toolflags:
  11. CCflags = -c -depend !Depend -IC: -throwback  -DMSC_CLOCK  -DHZ=100  -DSILENT  -DNORUNS=75000  -w  -ff
  12. Linkflags = -aif -o
  13. ObjAsmflags = -depend !Depend -Stamp -quit -CloseExec
  14. Squeezeflags = -o
  15.  
  16. # Dependencies
  17.  
  18. # system libraries
  19. LDLIBS = c:o.Stubs
  20.  
  21. # user libraries
  22. USRLIBS=
  23.  
  24. # source files (independently compilable files)
  25. SOURCES= dhry_1.c dhry_2.c
  26.  
  27. # application object files
  28. OBJECTS= dhry_1.o dhry_2.o
  29.  
  30. # Targets
  31.  
  32. all: Resources.Dhrystone Resources.Flops20
  33.  
  34. Resources.Dhrystone: $(OBJECTS) 
  35.         link $(Linkflags) Resources.Dhrystones $(OBJECTS) $(USRLIBS) $(LDLIBS) 
  36.         squeeze Resources.Dhrystones
  37.  
  38. Resources.Flops20: flops20d.o 
  39.         link $(Linkflags) Resources.Flops20 Flops20d.o $(USRLIBS) $(LDLIBS) 
  40.         squeeze Resources.Flops20
  41.  
  42. .SUFFIXES: .o .c
  43. .c.o:;  cc $(CCflags) -o $@ $<
  44.  
  45. # Dynamic dependencies:
  46. o.flops20:    c.flops20d
  47. o.dhry_1:    c.dhry_1
  48. o.dhry_1:    h.dhry
  49. o.dhry_2:    c.dhry_2
  50. o.dhry_2:    h.dhry
  51. o.flops20d:    c.flops20d
  52.